package com.kwedding.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.kwedding.bean.TB_Brand;
import com.kwedding.bean.TB_Media;

public interface TB_MediaMapper {

	TB_Media selectByPrimaryKey(@Param("mediaId") Long mediaId);

	int insert(TB_Media tb_Media);

	int updateSelective(TB_Media tb_Media);

	List<TB_Media> selectMediaList(@Param("status") Boolean status, @Param("brandId") Long brandId);

	TB_Media selectMediaInUse(@Param("brandId") Long brandId, @Param("type") Integer type);
}
